package com.huacheng.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.huacheng.cms.model.Tag;

@Repository
public interface TagMapper {

    int deleteByPrimaryKey(String name);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(String name);

    int updateByPrimaryKeySelective(Tag record);

    int selectBySelectiveCount(Tag record);

    List<Tag> selectBySelective(@Param("record") Tag record, @Param("offset") long offset, @Param("rows") long rows);

}